﻿using System;
using System.ComponentModel.DataAnnotations;

namespace EnetaMvc.ApplicationServices.Dto
{
    public class ContentItemDto : BaseDto
    {
        [Required]
        public string Title { get; set; }
        public string Abstract { get; set; }

        [Required]
        public string Body { get; set; }
        public DateTime Created { get; set; }
        public string InfoSourceName { get; set; }
        public string InfoSourceUrl { get; set; }
        public DateTime PublishStateDate { get; set; }
        public string PublishStateName { get; set; }
        public long PublishStateId { get; set; }
        public string PublishComment { get; set; }
        public long PublishStateById { get; set; }
        public string PublishStateByUserName { get; set; }
        public long CreatedById { get; set; }
        public string CreatedByUserName { get; set; }
        public CommentDto[] Comments { get; set; }
        public TagDto[] Tags { get; set; }
        public long[] SaveTagIds { get; set; }
    }
}
